Skip to content

ci: test against Ruby 4.0, ActiveModel 8.1 and Couchbase Server 7.6 - #43

Merged
pimpin merged 3 commits into
masterfrom
pimpin/bc-3546-ticket-work
Nov 23, 2026
Merged

pimpin merged 3 commits into
masterfrom
pimpin/bc-3546-ticket-work

Conversation

@pimpin

@pimpin pimpin commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Add matrix entries matching the doctolib/doctolib stack so that a gem bump cannot break it silently:

  • Ruby 4.0 + ActiveModel 8.1.4 + Couchbase Server 7.6.13
  • Ruby 3.4 + ActiveModel 8.1.4 + Couchbase Server 7.6.13 (isolates Ruby 4 regressions from Rails/Server ones)

Couchbase Server 7.6 no longer publishes ubuntu20.04 packages, only a generic "linux" one, so run_couchbase.sh now falls back to it.

Relax the rake development dependency from ~> 12.2 to >= 12.2: rake 12 requires ostruct, which is no longer a default gem in Ruby 4.0, so bundle install failed there.

Refs BC-3546

Add matrix entries matching the doctolib/doctolib stack so that a gem
bump cannot break it silently:
- Ruby 4.0 + ActiveModel 8.1.4 + Couchbase Server 7.6.13
- Ruby 3.4 + ActiveModel 8.1.4 + Couchbase Server 7.6.13 (isolates
  Ruby 4 regressions from Rails/Server ones)

Couchbase Server 7.6 no longer publishes ubuntu20.04 packages, only a
generic "linux" one, so run_couchbase.sh now falls back to it.

Relax the rake development dependency from ~> 12.2 to >= 12.2: rake 12
requires ostruct, which is no longer a default gem in Ruby 4.0, so
bundle install failed there.

Refs BC-3546

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings November 23, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are recorded for the changes expanding CI compatibility coverage.

No open issues 🎉

What changed in this PR

This PR expands CI coverage to match the doctolib production stack and distinguish Ruby 4.0 regressions from ActiveModel or Couchbase Server compatibility issues.

Changes:

  • Add Ruby 4.0 and 3.4 combinations with ActiveModel 8.1.4 and Couchbase Server 7.6.13.
  • Fall back to generic Linux Couchbase packages when Ubuntu-specific packages are unavailable.
  • Relax the rake development dependency to allow newer releases compatible with Ruby 4.0.
File Description
couchbase-orm.gemspec Allow rake versions newer than 12.x.
ci/​run_couchbase.sh Add a generic Linux package fallback and fail explicitly if neither download succeeds.
.github/​workflows/​test.yml Add two CI matrix entries for the production stack.

Review effort: Balanced

Comment thread .github/workflows/test.yml Resolved
Copilot AI balanced review requested due to automatic review settings November 23, 2026 16:22
@pimpin pimpin changed the title ci: test against Ruby 4.0, ActiveModel 8.1 and Couchbase Server 7.6 ci: test against Ruby 4.0, ActiveModel 8.1 and Couchbase Server 7.6 and 8.0 Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The Couchbase 8.0 CI bucket defaults to Magma, which lacks MapReduce view support and causes suite loading to fail; provisioning must explicitly select the couchstore backend.

1 open issue

Review effort: Balanced

Comment thread .github/workflows/test.yml Resolved
Comment thread .github/workflows/test.yml Resolved
Copilot AI balanced review requested due to automatic review settings November 23, 2026 16:27
@JulienBURNET-FAUCHE JulienBURNET-FAUCHE changed the title ci: test against Ruby 4.0, ActiveModel 8.1 and Couchbase Server 7.6 and 8.0 ci: test against Ruby 4.0, ActiveModel 8.1 and Couchbase Server 7.6 Nov 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues are reported for the expanded CI compatibility coverage.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

@pimpin
pimpin merged commit 697f159 into master Nov 23, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants